projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fbc439
)
GtkGLArea: Correctly position/size input window on realize
author
Alexander Larsson
<alexl@redhat.com>
Mon, 3 Nov 2014 12:35:00 +0000
(13:35 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Mon, 3 Nov 2014 12:35:00 +0000
(13:35 +0100)
gtk/gtkglarea.c
patch
|
blob
|
history
diff --git
a/gtk/gtkglarea.c
b/gtk/gtkglarea.c
index d0882b7e36d00aec928b1e704576e852ef5f179d..3b030f50ddc9882f42a20217bd7391fe952702c9 100644
(file)
--- a/
gtk/gtkglarea.c
+++ b/
gtk/gtkglarea.c
@@
-268,6
+268,8
@@
gtk_gl_area_realize (GtkWidget *widget)
GTK_WIDGET_CLASS (gtk_gl_area_parent_class)->realize (widget);
+ gtk_widget_get_allocation (widget, &allocation);
+
attributes.window_type = GDK_WINDOW_CHILD;
attributes.x = allocation.x;
attributes.y = allocation.y;